package com.yuan.blog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(basePackages = "com.yuan.blog.mapper")
@EnableScheduling
public class BlogWebApplication {

    public static void main(String[] args) {
        //防止springboot的logback与nacos的logback冲突禁用nacos的logback
        System.setProperty("nacos.logging.default.config.enabled","false");
        SpringApplication.run(BlogWebApplication.class, args);
    }

}
